{% macro gen_table(data) %}
    <table id="user-info-table" class="table table-bordered table-hover table-condensed table-striped">
        <thead>
            <tr>
                <th>用户ID</th>
                <th>手机号</th>
                <th>昵称</th>
                <th>版本号</th>
                <th>创建时间</th>
            </tr>
        </thead>
        <tbody>
            {% for each in data %}
            <tr>
                <td>{{ each.user_id }}</td>
                <td>{{ each.mobile | encrypt }}</td>
                <td>{{ each.nickname }}</td>
                <td>{{ each.version }}</td>
                <td>{{ each.created_datetime }}</td>
            </tr>
            {% endfor %}
        </tbody>
    </table>
{% endmacro %}
